import matplotlib.pyplot as plt

# 生态环境部监测数据
ecology_data = {'January': 100, 'February': 120, 'March': 150, 'April': 130, 'May': 140, 'June': 160,
                'July': 170, 'August': 180, 'September': 160, 'October': 150, 'November': 140, 'December': 130}

# 辐射安全中心监测数据
radiation_data = {'January': 50, 'February': 60, 'March': 55, 'April': 65, 'May': 70, 'June': 75,
                  'July': 80, 'August': 85, 'September': 75, 'October': 70, 'November': 65, 'December': 60}

months = list(ecology_data.keys())
ecology_values = list(ecology_data.values())
radiation_values = list(radiation_data.values())

plt.plot(months, ecology_values, label='Ecology Data')
plt.plot(months, radiation_values, label='Radiation Data')
plt.xlabel('Months')
plt.ylabel('Monitoring Data')
plt.title('Ecology and Radiation Monitoring Data Trends')
plt.xticks(rotation=45)
plt.legend()
plt.show()
